home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
atr.arc
/
ATR.DOC
< prev
Wrap
Text File
|
1986-06-04
|
1KB
|
50 lines
ATR
______________________________________________________________________________
Purpose: Permits changing or resetting any or all file atribute bits.
Format: ATR [d:][path]filename[.ext] [x...]
Remarks: [x...] is a list of atributes to be set, according to the
following list:
x ATTRIBUTE
[blank] Reset all bits to OFF.
r Set to READ ONLY.
Prevents writing to file.
w (write) Turn off READ ONLY
Resumes standard read/write status.
h Set to HIDDEN
Does not appear in std. directories & cannot
be found by normal file searches.
v (visible) Turn off HIDDEN.
s Set to SYSTEM.
Does not appear in std. directories & cannot
be found by normal file searches.
n (normal) Turn off SYSTEM.
a Set to ARCHIVE needed (written to since last
reset of this bit)
b (backed-up) Turn off ARCHIVE (as is done by
DOS Backup Utility)
Attributes to be set are listed without spaces or punctuation
between, such as "ATR A:COMMAND.COM RB". If contradictory
attributes are listed, the last one appearing takes precedence.
A blank (space) terminates the list, and invalid atribute codes
will be ignored, as if not present, EXCEPT one invalid atrib-
ute and no valid atributes will NOT act like a blank, but in-
stead will leave the current atributes unchanged.
Global or ambiguous filespecs may be used, such as:
"ATR B:*.??M HS"